﻿using Newtonsoft.Json;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Text;

namespace NP.BPMReportPlatform.Entities.BPM_Business
{
    /// <summary>
    /// 加急运输申请 主表
    /// </summary>
    [SugarTable("JJYSSPNewHeader")]
    public class JJYSSPNewHeader : BaseHead
    {
        public string FormType { get; set; }

        /// <summary>
        /// 交付运营专员
        /// </summary>
        public string JfyyzyName { get; set; }

        /// <summary>
        /// 要求到货日期
        /// </summary>
        public string RequestArrivalDate { get; set; }

        /// <summary>
        /// 商机号
        /// </summary>
        public string BusinessNo { get; set; }

        /// <summary>
        /// 商机名称
        /// </summary>
        public string BusinessName { get; set; }

        /// <summary>
        /// 客户编码
        /// </summary>
        public string CustomerCode { get; set; }

        /// <summary>
        /// 客户名称
        /// </summary>
        public string CustomerName { get; set; }

        /// <summary>
        /// 大客户编码
        /// </summary>
        public string BigCustomerCode { get; set; }

        /// <summary>
        /// 大客户名称
        /// </summary>
        public string BigCustomerName { get; set; }

        /// <summary>
        /// 销售部
        /// </summary>
        public string XSBName { get; set; }

        /// <summary>
        /// 销售员
        /// </summary>
        public string XSYName { get; set; }

        /// <summary>
        /// 成本中心
        /// </summary>
        public string CostCentre { get; set; }

        /// <summary>
        /// 成本中心名称
        /// </summary>
        public string CostCentreName { get; set; }

        /// <summary>
        /// 合计加急运输费用(元)
        /// </summary>
        public string TotalCost { get; set; }

        /// <summary>
        /// 总重量(吨)
        /// </summary>
        public string TotalWeight { get; set; }

        /// <summary>
        /// 申请理由
        /// </summary>
        public string ApplicationReason { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }

        /// <summary>
        ///  行数据
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public List<JJYSSPNewDetail> LineData { get; set; }
    }
}
